package com.itheima;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class DemoTest {
    public static void main(String[] args) {
        ApplicationContext aa=new AnnotationConfigApplicationContext(SpringConfig.class);
        Demo02 bean = aa.getBean(Demo02.class);
        Boolean tt = bean.tt("root", "root ");
        System.out.println(tt);
    }

}
